package com.songlanyun.modules.pointtobalace.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import cn.hutool.core.util.DesensitizedUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.ReUtil;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.songlanyun.common.drive.ValueObject;
import com.songlanyun.common.enums.GoodsConstant;
import com.songlanyun.common.enums.MemberConstant;
import com.songlanyun.common.validator.group.AppGroup;
import com.songlanyun.common.validator.group.AppLoginGroup;
import com.songlanyun.common.validator.group.WxGroup;
import com.songlanyun.common.validator.group.WxLoginGroup;
import com.songlanyun.modules.account.entity.AccountEntity;
import com.songlanyun.modules.account.entity.UserInfoEntity;
import com.songlanyun.modules.account.service.AccountService;
import com.songlanyun.modules.account.service.UserInfoService;
import com.songlanyun.modules.rabbitmq.util.SpringContextUtil;
import lombok.Data;
import org.apache.commons.lang.StringUtils;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ExcelTarget("balanceToPointRecordCNHDVO")
@Data
public class BalanceToPointRecordCNHDVO  implements Serializable, ValueObject{

    private static long serialVersionUID = 5674504166325919524L;

    /** 真实姓名 */
    @Excel(name = "真实姓名",orderNum = "1",width = 15D)
    private String realName;

    /**
     * 银行卡号
     */
    @Excel(name = "银行卡号",orderNum = "2",width = 15D)
    private String bankCard;

    /** 总兑换余额 */
    @Excel(name = "兑换金额(元)",orderNum = "3",width = 15D)
    private BigDecimal giveBalance;

    /** 实际兑换的积分 */
    @Excel(name = "兑换获取积分",orderNum = "4",width = 15D)
    private BigDecimal faceAddPoint;

    /** 手续费用 */
    @Excel(name = "兑换手续费（元）",orderNum = "5",width = 15D)
    private BigDecimal handlingFee;

    /** 积分价格 */
    @Excel(name = "积分价格（元/积分）",orderNum = "6",width = 15D)
    private BigDecimal pointPrice;

    /**
     * 创建时间
     */
    @Excel(name = "兑换时间",orderNum = "7",width = 15D)
    private String createTime;

    /** 审核状态（0 未审核  1 已通过  2 未通过） */
    @Excel(name = "审核状态",orderNum = "8",width = 15D,dict="")
    private String examine;
}
